package top.zhaojx.rpc;

import top.zhaojx.rpc.transport.codec.serializer.CommonSerializer;
import top.zhaojx.rpc.transport.RpcServer;
import top.zhaojx.rpc.transport.socket.server.SocketServer;

/**
 * 测试用服务提供方（服务端）
 */
public class SocketTestServer {
    public static void main(String[] args) {
        RpcServer server = new SocketServer("127.0.0.1", 9998, CommonSerializer.HESSIAN_SERIALIZER);
        server.start();
    }
}
